library(tidyverse)
## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
## ✔ dplyr 1.1.0 ✔ readr 2.1.4
## ✔ forcats 1.0.0 ✔ stringr 1.5.0
## ✔ ggplot2 3.4.1 ✔ tibble 3.2.0
## ✔ lubridate 1.9.2 ✔ tidyr 1.3.0
## ✔ purrr 1.0.1
## ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
## ✖ dplyr::filter() masks stats::filter()
## ✖ dplyr::lag() masks stats::lag()
## ℹ Use the ]8;;http://conflicted.r-lib.org/conflicted package]8;; to force all conflicts to become errors
library(tidytable)
## Warning: tidytable was loaded after dplyr.
## This can lead to most dplyr functions being overwritten by tidytable functions.
## Warning: tidytable was loaded after tidyr.
## This can lead to most tidyr functions being overwritten by tidytable functions.
##
## Attaching package: 'tidytable'
## The following objects are masked from 'package:dplyr':
##
## across, add_count, add_tally, anti_join, arrange, between,
## bind_cols, bind_rows, c_across, case_match, case_when, coalesce,
## consecutive_id, count, cross_join, cume_dist, cur_column, cur_data,
## cur_group_id, cur_group_rows, dense_rank, desc, distinct, filter,
## first, full_join, group_by, group_cols, group_split, group_vars,
## if_all, if_any, if_else, inner_join, is_grouped_df, lag, last,
## lead, left_join, min_rank, mutate, n, n_distinct, na_if, nest_by,
## nest_join, nth, percent_rank, pick, pull, recode, relocate, rename,
## rename_with, right_join, row_number, rowwise, select, semi_join,
## slice, slice_head, slice_max, slice_min, slice_sample, slice_tail,
## summarise, summarize, tally, top_n, transmute, tribble, ungroup
## The following objects are masked from 'package:purrr':
##
## map, map_chr, map_dbl, map_df, map_dfc, map_dfr, map_int, map_lgl,
## map_vec, map2, map2_chr, map2_dbl, map2_df, map2_dfc, map2_dfr,
## map2_int, map2_lgl, map2_vec, pmap, pmap_chr, pmap_dbl, pmap_df,
## pmap_dfc, pmap_dfr, pmap_int, pmap_lgl, pmap_vec, walk
## The following objects are masked from 'package:tidyr':
##
## complete, crossing, drop_na, expand, expand_grid, extract, fill,
## nest, nesting, pivot_longer, pivot_wider, replace_na, separate,
## separate_longer_delim, separate_rows, separate_wider_delim,
## separate_wider_regex, tribble, uncount, unite, unnest,
## unnest_longer, unnest_wider
## The following objects are masked from 'package:tibble':
##
## enframe, tribble
## The following objects are masked from 'package:stats':
##
## dt, filter, lag
## The following object is masked from 'package:base':
##
## %in%
# download.file("https://raw.githubusercontent.com/JovianML/opendatasets/master/data/stackoverflow-developer-survey-2020/survey_results_schema.csv", "survey_results_schema.csv")
# download.file("https://raw.githubusercontent.com/JovianML/opendatasets/master/data/stackoverflow-developer-survey-2020/survey_results_public.csv", "survey_results_public.csv")
# download.file("https://raw.githubusercontent.com/JovianML/opendatasets/master/data/stackoverflow-developer-survey-2020/README.txt", "README.txt")
survey_raw_df <- read_csv("survey_results_public.csv")
## Rows: 64461 Columns: 61
## ── Column specification ────────────────────────────────────────────────────────
## Delimiter: ","
## chr (56): MainBranch, Hobbyist, Age1stCode, CompFreq, Country, CurrencyDesc,...
## dbl (5): Respondent, Age, CompTotal, ConvertedComp, WorkWeekHrs
##
## ℹ Use `spec()` to retrieve the full column specification for this data.
## ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
survey_raw_df